from src.game.talent.archer import ArcherTalent
from src.game.entity.mob import EntityMob

from src.game.ai.gonearplayer import GoNearPlayerState
from src.game.ai.shootplayer import ShootPlayerState

class EntityArcher(EntityMob):
    
    def __init__(self):
        EntityMob.__init__(self, ArcherTalent(self))
        self.ai.add(GoNearPlayerState(0, self))
        self.ai.add(ShootPlayerState(0, self, 5, 2))